<template>
    <div>
       B...
       <button @click="handleClick">按钮</button>
    </div>
</template>
<script>
export default {
  name: "BCommon",
  methods: {
    handleClick() {
      this.$bus.$emit("setNum");
    },
  },
};
</script>
<style>

</style>